package com.zqq.goods.injection.component

import com.zqq.baselibrary.injection.PerComponentScope
import com.zqq.baselibrary.injection.component.ActivityComponent
import com.zqq.goods.injection.module.CartModule
import com.zqq.goods.injection.module.GoodsModule
import com.zqq.goods.ui.activity.GoodsActivity
import com.zqq.goods.ui.fragment.GoodsDetailTabOneFragment
import dagger.Component

/**
 * 商品Component
 * wc
 * @author zqq on 2019/5/28.
 */
@PerComponentScope
@Component(dependencies = arrayOf(ActivityComponent::class),
        modules = arrayOf(GoodsModule::class, CartModule::class))
interface GoodsComponent {

    fun inject(activity: GoodsActivity)
    fun inject(fragment: GoodsDetailTabOneFragment)


}
